package com.meilai.project.vo.app;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author 张驰
 * @date 2021/10/31 0:34
 */
@ApiModel(value="返回对象-app公司离线数据VO-设备信息VO", description="返回对象-app公司离线数据-设备信息")
@Data
public class CompanyOfflineDeviceDataVO{
    @ApiModelProperty(value = "设备id，自增列，公司唯一")
    private Long id;
    @ApiModelProperty(value = "设备编码，uuid，全平台唯一，二维码code值")
    private String qrcode;
    @ApiModelProperty(value = "设备nfc编码，nfccode值，可为空")
    private String nfc_code;
    @ApiModelProperty(value = "设备编号，公司自定义，必填")
    private String code;
    @ApiModelProperty(value = "楼盘ID")
    private Long building_area_id;
    @ApiModelProperty(value = "楼号")
    private String building_number;
    @ApiModelProperty(value = "单元号")
    private String unit_number;
    @ApiModelProperty(value = "楼层")
    private Integer floor;
    @ApiModelProperty(value = "楼层类型：1、多层2、高层")
    private Integer building_type;
    @ApiModelProperty(value = "媒体类型id")
    private Long media_type_id;
    @ApiModelProperty(value = "门号")
    private String door_number;
//    @ApiModelProperty(value = "护栏号")
//    private String rail_number;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "位置")
    private String location;
    @ApiModelProperty(value = "0 未激活 1 激活")
    private Integer activate_status;
    @ApiModelProperty(value = "媒体特点")
    private String media_feature;
    @ApiModelProperty(value = "故障类型，0：未故障；1：发现故障")
    private Integer breakdown_type;
    @ApiModelProperty(value = "尺寸_高度")
    private String size_length;
    @ApiModelProperty(value = "尺寸_宽度")
    private String size_width;
    @ApiModelProperty(value = "编号入库，0 否 1 是")
    private Integer import_by_code;
    @ApiModelProperty(value = "画面属性id")
    private Long pic_type;
    @ApiModelProperty(value = "是否亮灯，0 否 1 是")
    private Integer is_light;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime created_at;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updated_at;
}
